#ifndef BASECONVERSION_H
#define BASECONVERSION_H

#include <DMainWindow>

#include <QLineEdit>
#include <QPaintEvent>

#include "interconversion.h"
#include "floatconversion.h"
#include "strconversion.h"

DWIDGET_USE_NAMESPACE


class BaseConversion : public DMainWindow
{
    Q_OBJECT

public:
    explicit BaseConversion(DMainWindow *parent = nullptr);
    ~BaseConversion();

    void initUi();

protected:
    void paintEvent(QPaintEvent *);

private:
    InterConversion *m_interConversion;
    FloatConversion *m_floatConcersion;
    StrConversion   *m_strConversion;
};

#endif // BASECONVERSION_H
